package br.ucb.sigplan.dao;

import java.util.List;

import br.ucb.sigplan.beans.Login;
import br.ucb.sigplan.beans.Professor;
import br.ucb.sigplan.exception.DAOException;

public interface ProfessorDAO {
	public void insert(Professor professor) throws DAOException;
	public List<Professor> findAll() throws DAOException;
	public Professor findById(Integer idProfessor) throws DAOException;
	public void delete(Integer idprofessor) throws DAOException;
	public Professor findByLogin(Login login) throws DAOException;
	public void update(Professor professor) throws DAOException;
	public Professor findByEmail(String email);
	public void updateSenha (String senha,String email, String parteMatricula);
}
